How to shift array elements to left in JavaScript

visit shbcf.ru